package com.ktwlsoft.archivemanage.payload.businessInspect;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 业务检查关联人员
 *
 * @author Name on 2023/6/26 10:50
 * @version 1.0
 */
@ApiModel("业务检查关联人员")
@Data
public class BusinessSelfOrRepeatInspectObjectRequest {

    /**
     * 关联对象id
     */
    @ApiModelProperty("关联对象id")
    @NotNull(message = "关联对象id不能为空")
    private Long objectId;

    /**
     * 关联对象名称
     */
    @ApiModelProperty("关联对象名称")
    @Size(max = 100,message = "关联对象名称超长")
    private String objectName;
}